﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ChangeMyPassword.aspx.cs" Inherits="HotelManagement.UserManagementModule.ChangeMyPassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

       
    .style29
    {
        font-size: large;
        text-align: left;
    }
    .style30
    {
        width: 39%;
        height: 117px;
    }
    .style31
    {
        height: 39px;
    }
     .style32
     {
         font-size: large;
     }

          #Reset1
        {
            width: 121px;
            height: 48px;
            margin-top: 0px;
        }
    </style>
 </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <strong><span class="style29">Welcome Admin</span></strong>_<strong><asp:Label ID="Label3" runat="server" CssClass="style29"></asp:Label>
    </strong>
    <hr style="color: #FFFFFF" />
    <h3 style="width: 854px" class="style29">
        Change My Password</h3>
    <table class="style7">
        <tr>
            <td class="style8">
                Password</td>
            <td class="style9">
                <asp:TextBox ID="TextBox1" runat="server" AutoCompleteType="Search" 
                    TextMode="Password" Width="245px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="TextBox1" ErrorMessage="You can't leave this empty!" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <asp:Label ID="Label9" runat="server" ForeColor="Red" Text="Invalid Password!" 
                    Visible="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style8">
                New Password</td>
            <td class="style9">
                <asp:TextBox ID="TextBox2" runat="server" AutoCompleteType="Search" 
                    TextMode="Password" Width="245px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="TextBox2" ErrorMessage="You can't leave this empty!" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style8">
                Confirm New Password</td>
            <td class="style9">
                <asp:TextBox ID="TextBox3" runat="server" AutoCompleteType="Search" 
                    TextMode="Password" Width="245px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="TextBox3" ErrorMessage="You can't leave this empty!" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="TextBox2" ControlToValidate="TextBox3" 
                    ErrorMessage="Confirm Password must match the New Password!" ForeColor="Red"></asp:CompareValidator>
            </td>
        </tr>
    </table>
    <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" 
        ForeColor="Red" Text="Change Password is failed! Please Try Again!" 
        Visible="False"></asp:Label>
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button4" runat="server" ForeColor="Black" Height="48px" 
        onclick="Button4_Click" Text="Change Password" Width="122px" />
&nbsp;&nbsp;&nbsp;
            <input id="Reset1" type="reset" value="Reset" />&nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button3" runat="server" CausesValidation="False" 
        ForeColor="Black" Height="48px" 
        PostBackUrl="~/UserManagementModule/MySetting.aspx" style="margin-top: 11px" 
        Text="Cancel" UseSubmitBehavior="False" Width="121px" />
    <br />
</asp:Content>
